import './assets/css/base.css'
import styles from './assets/css/index.module.less'
import './assets/font/iconfont.css'
const img = require('./assets/img/img_123kb.jpg')
console.log(img);
const divDom = document.createElement('div')
divDom.innerHTML = `
    <span class="iconfont icon-icon-test"></span>
    <span class="iconfont icon-icon-test1"></span>
    <span class="iconfont icon-icon-test2"></span>
    <span class="iconfont icon-icon-test3"></span>
`
divDom.className = styles.add
document.body.append(divDom)
const imgDom = document.createElement('img')
imgDom.src = img
document.body.append(imgDom)
console.log(1111111111111);
const sum = (a,b) => {
    return a+b;
}

new Promise(resolve => {
    setTimeout(() => {
        resolve(1)
    }, 1000);
}).then(res => {
    console.log(res);
})
console.log(sum(1,2));